/** 枚举 */
export default {
  /** clz 类型 */
  Clz: {
    country: { name: 'country', cname: '国家/总部' },
    province: { id: 'province', name: '省' },
    city: { id: 'city', name: '城市' },
    district: { id: 'district', name: '区' },
    town: { id: 'town', name: '乡镇' },
    department: { id: 'department', name: '部门' },
    line: { id: 'line', name: '线路' },
    substation: { id: 'substation', name: '变电站' },
    bay: { id: 'bay', name: '间隔' },
    distribution: { id: 'distribution', name: '配电终端' },
    concentrator: { id: 'concentrator', name: '汇集单元' },
    collector: { id: 'collector', name: '采集单元' },

    segment: { id: 'segment', name: '线路监测' },
    cable: { id: 'cable', name: '电缆监测' },

    voltmeter: { id: 'voltmeter', name: '电压监测' },
    groundmeter: { id: 'groundmeter', name: '接地监测' },
    dischargemeter: { id: 'dischargemeter', name: '局放监测' },
    thermomodbus: { id: 'thermomodbus', name: '温度监测' },
    thermometer: { id: 'thermometer', name: '温度监测' },

    env: { id: 'env', name: '环境监测' },
    arefaction: { id: 'arefaction', name: '除湿机' },
    breaker: { id: 'breaker', name: '断路器' },
    machine: { id: 'machine', name: '机械特征' },

    cluster: { id: 'cluster', name: '群组' },
    unknown: { id: 'unknown', name: '未知' }
  },

  /** 终端类型 */
  TerminalType: {
    distribution: {
      id: 'distribution',
      name: '配电终端'
    },
    concentrator: {
      id: 'concentrator',
      name: '汇集单元'
    },
    collector: {
      id: 'collector',
      name: '采集单元'
    }
  },

  /** 通讯协议 */
  ProtocolType: {
    '5103': {
      id: '5103',
      name: '104规约（故障指示器）'
    },
    '5104': {
      id: '5104',
      name: '104规约（开关柜）'
    },
    '5105': {
      id: '5105',
      name: '104规约（智能防爆盒）'
    },
    '5109': {
      id: '5109',
      name: '104规约（测温装置）'
    },
    '5198': {
      id: '5198',
      name: '瑞霆规约（温湿度装置）'
    },
    '5199': {
      id: '5199',
      name: '瑞霆规约（测温装置）'
    },
    '104': {
      id: '104',
      name: '通用104规约'
    },
    '101': {
      id: '101',
      name: '通用101规约'
    }
  },

  /** 制造商 */
  VendorType: {
    '21076': {
      id: '21076',
      name: '瑞霆电力'
    },
    '23128': {
      id: '23128',
      name: '智芯微电子'
    }
  },

  /** 电压等级 */
  BaseVoltage: {
    '10': {
      id: '10',
      name: '10kV'
    },
    '35': {
      id: '35',
      name: '35kV'
    },
    '110': {
      id: '110',
      name: '110kV'
    },
    '220': {
      id: '220',
      name: '220kV'
    },
    '500': {
      id: '500',
      name: '500kV'
    },
    '800': {
      id: '800',
      name: '800kV'
    }
  },

  /** 采集器类型 */
  CollectorType: {
    segment: {
      id: 'segment',
      name: '线路监测'
    },
    cable: {
      id: 'cable',
      name: '电缆监测'
    },
    groundmeter: {
      id: 'groundmeter',
      name: '接地监测'
    },
    voltmeter: {
      id: 'voltmeter',
      name: '电压监测'
    },
    dischargemeter: {
      id: 'dischargemeter',
      name: '局放监测'
    },
    thermometer: {
      id: 'thermometer',
      name: '温度监测'
    },
    env: {
      id: 'env',
      name: '环境监测'
    },
    arefaction: {
      id: 'arefaction',
      name: '除湿机'
    },
    breaker: {
      id: 'breaker',
      name: '断路器'
    },
    machine: {
      id: 'machine',
      name: '机械特征'
    }
  }
};
